#pragma once
#include "afxcmn.h"


// CProgressDlg dialog

class CProgressDlg : public CDialog
{
	DECLARE_DYNAMIC(CProgressDlg)

public:
	CProgressDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CProgressDlg();

// Dialog Data
	enum { IDD = IDD_PROGRESS };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedCancel();
	virtual void OnOK(){};

	CProgressCtrl m_ctlProgress;
	CString m_strFilePath;
	BOOL m_bCancelled;

public:
	void SetCancelled(BOOL b) { m_bCancelled = b; }
	BOOL GetCancelled() { return m_bCancelled; }
	virtual BOOL OnInitDialog();
};
